package com.chen.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.concurrent.CountDownLatch;

@Slf4j
@Component
public class RedisSubService {

    public void receiveMessage(String message){
        log.info("订阅者接收到消息："+message);
    }
}
